﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ServiceModel.DomainServices.Server;
using MyApp.Data.Resources;

namespace MyApp.Data.Model
{
#pragma warning disable 649
    [MetadataType(typeof(OrderDetail.OrderDetailMetadata))]
    public partial class OrderDetail
	{
        internal class OrderDetailMetadata
        {
            [Display(ResourceType = typeof(Metadata), Name = "MyApp_OrderDetail_Quantity")]
            public int Quantity;

            [Include]
            public Product Product;

            [Include]
            public Order Order;
        }
    }
#pragma warning restore 649
}
